Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BC OrgBook and BC Geocoder Lookups to SHAS Intake Form #87

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

wilwong89
Copy link
Contributor

Description

Adjusted intake form to search OrgBook and Geocoder APIs for BC registered businesses and addresses.
Add new ENV variables for API

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Copy link

github-actions bot commented Jun 3, 2024

Coverage Report (Application)

Totals Coverage
Statements: 47.94% ( 698 / 1456 )
Methods: 38.27% ( 106 / 277 )
Lines: 60.76% ( 466 / 767 )
Branches: 30.58% ( 126 / 412 )

Copy link

github-actions bot commented Jun 3, 2024

Coverage Report (Frontend)

Totals Coverage
Statements: 33.57% ( 1062 / 3164 )
Methods: 31.38% ( 198 / 631 )
Lines: 36.44% ( 626 / 1718 )
Branches: 29.2% ( 238 / 815 )

@wilwong89 wilwong89 force-pushed the feature/orgbook-address-lookup branch from 47a4f72 to 8081f78 Compare June 3, 2024 18:12
app/config/custom-environment-variables.json Outdated Show resolved Hide resolved
.github/environments/values.test.yaml Outdated Show resolved Hide resolved
.github/environments/values.prod.yaml Outdated Show resolved Hide resolved
.github/environments/values.dev.yaml Outdated Show resolved Hide resolved
charts/pcns/values.yaml Outdated Show resolved Hide resolved
frontend/src/services/externalApiService.ts Outdated Show resolved Hide resolved
frontend/src/services/index.ts Show resolved Hide resolved
frontend/src/components/intake/ShasIntakeForm.vue Outdated Show resolved Hide resolved
frontend/src/components/intake/ShasIntakeForm.vue Outdated Show resolved Hide resolved
Comment on lines 105 to +107
function confirmSubmit(data: any) {
const tempData = Object.assign({}, data);
delete tempData['addressSearch'];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a mental note, not something to be done, its tech-debty - but we should be creating form submission types to avoid using any on submits.

@wilwong89 wilwong89 force-pushed the feature/orgbook-address-lookup branch from 8081f78 to d36213e Compare June 3, 2024 21:05
@kyle1morel kyle1morel merged commit 0e60cd8 into release/housing-intake Jun 4, 2024
16 of 17 checks passed
@kyle1morel kyle1morel deleted the feature/orgbook-address-lookup branch June 4, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants